﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pumpe.aspx.cs" Inherits="AfvandingKlient.PumpeGUI" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Pumpe</title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        .auto-style2 {
            width: 110px;
        }
        .auto-style3 {
            width: 135px;
        }
    </style>
</head>
<body>
    <form id="Pumpe" runat="server">
    <asp:Label ID="_pageHeader" runat="server" Text="Opret Pumpe" Font-Bold="True" Font-Size="XX-Large"></asp:Label><br /><br />
      <div>
        <table class="auto-style1">
            <tr>
                <td class="auto-style2">
                    <asp:Label ID="lblPumpenr" runat="server" Text="Pumpe nummer:"></asp:Label>
                </td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtboxPumpenr" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RFVpumpenr" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxPumpenr" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style2">
                    <asp:Label ID="lblKapacitet" runat="server" Text="Pumpekapacitet:"></asp:Label>
                </td>
                <td class="auto-style3">
                    <asp:TextBox ID="txtboxKapacitet" runat="server"></asp:TextBox>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RFVpumpenr0" runat="server" ErrorMessage="Skal udfyldes!" ControlToValidate="txtboxKapacitet" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </div>
        <br />
        <asp:Button CausesValidation="true" ID="btnOpretPumpe" runat="server" Text="Opret/Opdatér" OnClick="btnOpretPumpe_Click" />
        <asp:Button CausesValidation="false" ID="btnCancel" runat="server" Text="Annullér" OnClick="btnCancel_Click" />
    </form>
</body>
</html>
